package net.mfjassociates.finance.domain.mfjfin_newdb;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import org.springframework.roo.addon.jpa.identifier.RooIdentifier;

@Embeddable
@RooIdentifier(dbManaged = false)
public final class PaymentMethodsPK {

	@Column(name = "PaymentMethodID", nullable = false)
    private Integer paymentMethodId;

	@Column(name = "PaymentMethod", nullable = false, length = 50)
    private String paymentMethod;

	@Column(name = "CreditCard", nullable = false)
    private Boolean creditCard;

	public PaymentMethodsPK(Integer paymentMethodId, String paymentMethod, Boolean creditCard) {
        super();
        this.paymentMethodId = paymentMethodId;
        this.paymentMethod = paymentMethod;
        this.creditCard = creditCard;
    }

	private PaymentMethodsPK() {
        super();
    }

	public Integer getPaymentMethodId() {
        return paymentMethodId;
    }

	public String getPaymentMethod() {
        return paymentMethod;
    }

	public Boolean getCreditCard() {
        return creditCard;
    }
}
